package cn.caplike.demo.repository.design.pattern.eventbus.jdk.simple;

public abstract class EventListener<E extends Event> {

    public abstract Class<E> getInterest();

    public abstract void handle(E event);
}
